#g++ -o gobang gobang.cc log.hpp util.hpp db.hpp online.hpp room.hpp 
#-std=c++11 -L/usr/lib64/mysql -lmysqlclient -ljsoncpp -lpthread -lboost_system -L/usr/local/lib -lssl -lcrypto
.PHONY: gobang
gobang:gobang.cc log.hpp util.hpp db.hpp online.hpp room.hpp
	g++ -std=c++11 $^ -o $@ -L/usr/lib64/mysql -lmysqlclient -ljsoncpp -lpthread -lboost_system -L/usr/local/lib -lssl -lcrypto

.PHONY:clean
clean:
	rm -f gobang